package com.vca.service.service;

import com.vca.common.request.CardPageRequest;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ExportService {


    String courserSchedulingExport(String date);

    /**
    * @description 导出用户详细报表
    * @param dateLimit
    * @param fileName
    * @author Li
    * @date 2023/2/23 9:41
    * @return {@link HSSFWorkbook}}
    */
    String detailClient(String dateLimit,String fileName);

    /**
    * @description 按天汇总详情
    * @param dateLimit
    * @param fileName
    * @author Li
    * @date 2023/2/23 13:55
    * @return {@link String}}
    */
    String summaryDay(String dateLimit,String fileName);

    /**
    * @description 礼品卡报表
    * @param request
    * @param fileName
    * @author Li
    * @date 2023/9/4 14:06
    * @return {@link String}
    */
    String cardStatement(CardPageRequest request, String fileName);

    String exportCdKey(CardPageRequest request, String fileName);

    /**
     * 通过排课id导出详细信息,包括用户核销信息
     * @param courseSchedulingId
     * @return
     */
    String exportExcelCourseSchedulingById(String courseSchedulingId) throws IOException;
    /**
     * 通过排课id导出详细信息,包括用户核销信息
     * @param talkSchedulingId
     * @return
     */
    String exportExcelTalkSchedulingById(String talkSchedulingId) throws IOException;
    /**
     * 通过排课id导出详细信息,包括用户核销信息
     * @param exhibitionSchedulingId
     * @return
     */
    String exportExcelExhibitionSchedulingById(String exhibitionSchedulingId) throws IOException;
    public boolean checkExcelStatus(String date, String startTime, String endTime);

    String testDetailClient(String dateLimit, String fileName, HttpServletResponse response) throws IOException;

    String testDetailClient1(String dateLimit, String s, HttpServletResponse response);
}
